package org.ws.task.model.protocol;

import java.io.Serializable;

public class CommitResult implements Serializable {

    private Long itemId;
    private Boolean success;
    private String message;

    public CommitResult() {
    }

    public CommitResult(Long itemId, Boolean success, String message) {
        this.itemId = itemId;
        this.success = success;
        this.message = message;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
